package main

import (
"fmt"
	"whoscored/util/httputil"
)


func main()  {
	url:="http://www1.rmfysszc.gov.cn/ProjectHandle.shtml"

	headers:=map[string]string{
		//"Accept-Encoding": "gzip, deflate",
		//"Cookie": "UM_distinctid=162840af6f28e8-0fa4d1bbd76767-33697b04-1fa400-162840af6f3671; ASP.NET_SessionId=0wictomaemmnmcbhxjzcnwxe; rmfysszc.gov.cn=20111241; __jsluid=7af2c47046a7f0aa6817f9a76870b528; CNZZDATA3765988=cnzz_eid%3D290192055-1522628507-http%253A%252F%252Fwww.rmfysszc.gov.cn%252F%26ntime%3D1522628507",
		"Connection": "keep-alive",
		"Accept": "application/json, text/javascript, */*; q=0.01",
		"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Mobile/14G60 MicroMessenger/6.5.11 NetType/WIFI Language/zh_CN",
		"Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8,lb;q=0.7",
		"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
		"Host": "www1.rmfysszc.gov.cn",
		"Origin": "http://www1.rmfysszc.gov.cn",
		"Referer": "http://www1.rmfysszc.gov.cn/projects.shtml?dh=3&gpstate=1&wsbm_slt=1",
		"X-Requested-With": "XMLHttpRequest",
	}
	params:=map[string]string{
		"type": "0",
		"name":"",
		"area":"",
		"state": "0",
		"time": "0",
		"time1":"",
		"time2":"",
		"money":"",
		"money1":"",
		"number": "0",
		"fid1":"",
		"fid2":"",
		"fid3":"",
		"order": "0",
		"page": "1",
		"include": "0",
}
	data:=httputil.Request(url,"POST",headers,params,)
	fmt.Println(data)
}
